/**
 * 
 */
package com.gragra.benchmark;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import com.gragra.sampling.nonproj.generators.CreateDepdCorpusAndAssigner;
/**
 * @author Christoph Teichmann
 * 22.09.2013
 */
public class RunSingleDepdMultipleTimes extends RunBenchmarkMultipleTimes
{
	public RunSingleDepdMultipleTimes(BufferedReader lines,
			BufferedReader golds, BufferedReader parameters,
			BufferedWriter output) throws IOException
	{super(lines, golds, parameters, output);}
	/* (non-Javadoc)
	 * @see com.gragra.benchmark.RunBenchmarkMultipleTimes#makeCreators(int)
	 */
	@Override
	protected CreateCorpusAndGoldAssigner[] makeCreators(int threads)
	{
		CreateDepdCorpusAndAssigner[] creates = new CreateDepdCorpusAndAssigner[SingleRootDependencyType.values().length];
		for(int i=0;i<SingleRootDependencyType.values().length;++i)
		{creates[i] = new CreateDepdCorpusAndAssigner(SingleRootDependencyType.values()[i].makeBaseCreator());}
		return creates;
	}
}